/**
 * <pre>
 * Title: 		MessageReceiver.java
 * Project: 	MSBASE
 * Author:		pengfangliang
 * Create:	 	2012-7-2 下午04:07:13
 * Copyright: 	Copyright (c) 2012
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfinbase.persist;

import javax.persistence.Entity;
import javax.persistence.Enumerated;
import com.hengpeng.itfinbase.idAssign.AbstractAssign18IdEntity;

/**
 * <pre>
 *  消息接收人
 * </pre>
 * @author zhaojitao
 * @version 1.0, 2015-5-12
 */
@Entity
public class MessageReceiver extends AbstractAssign18IdEntity
{
	private static final long serialVersionUID = -1039718082991938382L;

	/**
	 * 用户编号
	 */
	private String userName;

	/**
	 * 是否删除
	 */
	@Enumerated(javax.persistence.EnumType.STRING)
	private BoolValue isDelete;

	/**
	 * 是否已读
	 */
	@Enumerated(javax.persistence.EnumType.STRING)
	private BoolValue isRead;

	/**
	 * 消息编号
	 */
	private Long messageId;

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public BoolValue getIsDelete()
	{
		return isDelete;
	}

	public void setIsDelete(BoolValue isDelete)
	{
		this.isDelete = isDelete;
	}

	public BoolValue getIsRead()
	{
		return isRead;
	}

	public void setIsRead(BoolValue isRead)
	{
		this.isRead = isRead;
	}

	public Long getMessageId()
	{
		return messageId;
	}

	public void setMessageId(Long messageId)
	{
		this.messageId = messageId;
	}

}
